import tensorflow as tf

v1 = tf.Variable(tf.constant(1.0,shape=[1]),name='V1')
v2 = tf.Variable(tf.constant(2.0,shape=[1]),name='V2')

result = v1 + v2

init_op = tf.global_variables_initializer()
var = tf.get_variable(name='V2',shape=[1])
print(var)
